// samsting : this file is auto create.

#include "Ace/2015-07-13/GetMonitorDataResponse.h"

namespace aliyun { namespace Ace {

GetMonitorDataResponse::GetMonitorDataResponse() {
}

int64 GetMonitorDataResponse::Item::GetTimestamp(void) const {
  return Timestamp_;
}

float GetMonitorDataResponse::Item::GetValue(void) const {
  return Value_;
}

const std::vector<GetMonitorDataResponse::Item>& GetMonitorDataResponse::GetData(void) const {
  return Data_;
}

const string& GetMonitorDataResponse::GetNextPageNum(void) const {
  return NextPageNum_;
}

const char* GetMonitorDataResponse::BaseKey(void) {
  return "GetMonitorDataResponse";
}

void GetMonitorDataResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Data__length = 0;
  UnmarshallerInt(Data__length, response_map, "GetMonitorDataResponse.Data.Length");
  if(Data__length >= 0) {
    Data_.resize(Data__length);
    for(int i1 = 0; i1 < Data__length; i1++) {
      UnmarshallerInt64(Data_[i1].Timestamp_, response_map, "GetMonitorDataResponse.Data["+string_ValueOfInt(i1)+"].Timestamp");
      UnmarshallerFloat(Data_[i1].Value_, response_map, "GetMonitorDataResponse.Data["+string_ValueOfInt(i1)+"].Value");
    } // for(int i1 = 0; i1 < Data__length; i1++) {
  } // if(Data__length >= 0) {

  UnmarshallerString(NextPageNum_, response_map, "GetMonitorDataResponse.NextPageNum");
}


} } // namespace aliyun { namespace Ace {

// end of file 
